//
//  Cart.h
//  mock-store
//
//  Created by aewatson on 10/20/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LineItem.h"

@interface Cart : NSObject {
    NSMutableArray *lineItemArray;
}

-(void)addItem: (Item*) newItem andQuantity: (int) newQuantity;
-(void)updateItemWithSKU: (NSString*) editSKU andQuantity: (NSNumber*) newQuantity;
-(void)removeItemAtIndex: (int) index;
-(int)getLineItemCount;
-(LineItem*)getLineItemAtIndex: (int) index;
-(void)getLineItemIndexArray;
-(LineItem*)getLineItemWithSKU: (NSString*) findSKU;
-(NSString*)getSummaryString;
-(NSString*)getTotalString;

@end
